package com.qf.dao.impl;

import com.qf.dao.StudentDeletteDao;
import com.qf.utils.JDBCUtils2;
import org.springframework.jdbc.core.JdbcTemplate;

public class StudentDeleteDaoImpl implements StudentDeletteDao {
    JdbcTemplate jd=new JdbcTemplate(JDBCUtils2.getDs());
    @Override
    public int deleteDao(int i) {

        return  jd.update("delete from ya where id=?", i);
    }
}
